package com.flowable.ui;


import com.flowable.ui.config.ApplicationConfiguration;
import com.flowable.ui.config.MyAppDispatcherServletConfiguration;
import org.flowable.ui.modeler.conf.DatabaseConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * @author wangfei
 * @version 1.0
 * @date 2021.09.17 0017 下午 03:06
 */
@Import(value={
        // 引入修改的配置
        ApplicationConfiguration.class,
        MyAppDispatcherServletConfiguration.class,
        DatabaseConfiguration.class
})
@ComponentScan(basePackages = {"com.flowable.ui.*"})
@SpringBootApplication(exclude={SecurityAutoConfiguration.class})
public class FlowableApplication {
    public static void main(String[] args) {
        SpringApplication.run(FlowableApplication.class, args);
    }
}


